<?php
	
	class MessageManager {
		
		private static $ERROR_MESSAGE = "ERROR_MESSAGE";	
		
		public static function setError($msg) {
			Scope::putRequestVar(self::$ERROR_MESSAGE, $msg);
		}
		
		public static function getError() {
			return Scope::loadRequestVar(self::$ERROR_MESSAGE);
		}
	}
?>